<include file="Public/min-header"/>
<link href="__PUBLIC__/plugins/daterangepicker/daterangepicker-bs3.css" rel="stylesheet" type="text/css" />
<script src="__PUBLIC__/plugins/daterangepicker/moment.min.js" type="text/javascript"></script>
<script src="__PUBLIC__/plugins/daterangepicker/daterangepicker.js" type="text/javascript"></script>

<style>
    td{height:40px;line-height:40px; padding-left:20px;}
    .span_1{
        float:left;
        margin-left:0px;
        height:130px;
        line-height:130px;
    }
    .span_1 ul{list-style:none;padding:0px;}
    .span_1 ul li{
        border:1px solid #CCC;
        height:40px;
        padding:0px 10px;
        margin-left:-1px;
        margin-top:-1px;
        line-height:40px;
    }
</style>
<div class="wrapper">
    <include file="Public/breadcrumb"/>
    <section class="content" style="padding:0px 15px;">
        <!-- Main content -->
        <div class="container-fluid">
            <div class="pull-right">
                <a href="javascript:history.go(-1)" data-toggle="tooltip" title="" class="btn btn-default" data-original-title="返回"><i class="fa fa-reply"></i></a>
            </div>
            <div class="panel panel-default">
                <div class="panel-body ">
                    <ul class="nav nav-tabs">
                        <foreach name="group_list" item="vo" key="k">
                            <li <if condition="$k eq 'zfuwl'">class="active"</if>><a href="javascript:void(0)" data-url="{:U('System/index',array('inc_type'=>$k))}" data-toggle="tab" onclick="goset(this)">{$vo}</a></li>
                        </foreach>
                    </ul>
                    <!--表单数据-->
                    <form method="post" id="handlepost" action="{:U('System/handle')}">
                        <!--通用信息-->
                        <div class="tab-content" style="padding:20px 0px;">
                            <div class="tab-pane active" id="tab_tongyong">
                                <table class="table table-bordered">
                                    <!------------奖金字段结束----------------华丽的分界线---------------------------------->
                                        <tr>
                                            <td>奖项①：</td>
                                            <td>
                                                <img width="20" height="20" src="__PUBLIC__/images/<if condition='$config.is_m1 eq 1'>yes.png <else />cancel.png</if>" onclick="changeTableVal('config','name','is_m1','value',this)"/>
                                                <input type="text" class="input-sm" name="m1" value="{$config.m1|default='①'}" >
                                            </td>
                                            <tr>
                                            <td>奖项②：</td>
                                            <td>
                                                <img width="20" height="20" src="__PUBLIC__/images/<if condition='$config.is_m2 eq 1'>yes.png <else />cancel.png</if>" onclick="changeTableVal('config','name','is_m2','value',this)"/>
                                                <input type="text" class="input-sm" name="m2" value="{$config.m2|default='②'}" >
                                            </td>
                                            </tr>
                                            <tr>
                                            <td>奖项③：</td>
                                            <td>
                                                <img width="20" height="20" src="__PUBLIC__/images/<if condition='$config.is_m3 eq 1'>yes.png <else />cancel.png</if>" onclick="changeTableVal('config','name','is_m3','value',this)"/>
                                                <input type="text" class="input-sm" name="m3" value="{$config.m3|default='③'}" >
                                            </td>
                                            </tr>
                                            <tr>
                                             <td>奖项④ ：</td>
                                            <td>
                                                <img width="20" height="20" src="__PUBLIC__/images/<if condition='$config.is_m4 eq 1'>yes.png <else />cancel.png</if>" onclick="changeTableVal('config','name','is_m4','value',this)"/>
                                                <input type="text" class="input-sm" name="m4" value="{$config.m4|default='④'}" >
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>奖项⑤：</td>
                                            <td>
                                                <img width="20" height="20" src="__PUBLIC__/images/<if condition='$config.is_m5 eq 1'>yes.png <else />cancel.png</if>" onclick="changeTableVal('config','name','is_m5','value',this)"/>
                                                <input type="text" class="input-sm" name="m5" value="{$config.m5|default='⑤'}" >
                                            </td>
                                            </tr>
                                            <tr>
                                            <td>奖项⑥ ：</td>
                                            <td>
                                                <img width="20" height="20" src="__PUBLIC__/images/<if condition='$config.is_m6 eq 1'>yes.png <else />cancel.png</if>" onclick="changeTableVal('config','name','is_m6','value',this)"/>
                                                <input type="text" class="input-sm" name="m6" value="{$config.m6|default='⑥'}" >
                                            </td>
                                            </tr>
                                            <tr>
                                             <td>奖项⑦：</td>
                                            <td>
                                                <img width="20" height="20" src="__PUBLIC__/images/<if condition='$config.is_m7 eq 1'>yes.png <else />cancel.png</if>" onclick="changeTableVal('config','name','is_m7','value',this)"/>
                                                <input type="text" class="input-sm" name="m7" value="{$config.m7|default='⑦'}" >
                                            </td>
                                            </tr>
                                            <tr>
                                            <td>奖项⑧：</td>
                                            <td>
                                                <img width="20" height="20" src="__PUBLIC__/images/<if condition='$config.is_m8 eq 1'>yes.png <else />cancel.png</if>" onclick="changeTableVal('config','name','is_m8','value',this)"/>
                                                <input type="text" class="input-sm" name="m8" value="{$config.m8|default='⑧'}" >
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>奖项⑨：</td>
                                            <td>
                                                <img width="20" height="20" src="__PUBLIC__/images/<if condition='$config.is_m9 eq 1'>yes.png <else />cancel.png</if>" onclick="changeTableVal('config','name','is_m9','value',this)"/>
                                                <input type="text" class="input-sm" name="m9" value="{$config.m9|default='⑨'}" >
                                            </td>
                                        </tr>
                                        <tr><td><td style='color:red;'>--------奖金字段结束----------------华丽的分界线------ 会员币种字段开始--------------------------</td></td></tr>
                                        <tr>
                                            <td>币种①：</td>
                                            <td>
                                                <img width="20" height="20" src="__PUBLIC__/images/<if condition='$config.is_u1 eq 1'>yes.png <else />cancel.png</if>" onclick="changeTableVal('config','name','is_u1','value',this)"/>
                                                <input type="text" class="input-sm" name="u1" value="{$config.u1|default='①'}" >
                                                <span style='color:red;'>【user_money】</span>可提现 可充值 
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>币种②：</td>
                                            <td>
                                                <img width="20" height="20" src="__PUBLIC__/images/<if condition='$config.is_u2 eq 1'>yes.png <else />cancel.png</if>" onclick="changeTableVal('config','name','is_u2','value',this)"/>
                                                <input type="text" class="input-sm" name="u2" value="{$config.u2|default='②'}" >
                                                <span style='color:red;'>【zuce_money】</span>报单币或者激活币 注册币
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>币种③：</td>
                                            <td>
                                                <img width="20" height="20" src="__PUBLIC__/images/<if condition='$config.is_u3 eq 1'>yes.png <else />cancel.png</if>" onclick="changeTableVal('config','name','is_u3','value',this)"/>
                                                <input type="text" class="input-sm" name="u3" value="{$config.u3|default='③'}" >
                                                <span style='color:red;'>【pay_points】</span>积分，购物币，重消币 
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>币种④：</td>
                                            <td>
                                                <img width="20" height="20" src="__PUBLIC__/images/<if condition='$config.is_u4 eq 1'>yes.png <else />cancel.png</if>" onclick="changeTableVal('config','name','is_u4','value',this)"/>
                                                <input type="text" class="input-sm" name="u4" value="{$config.u4|default='④'}" >
                                                <span style='color:red;'>【fund_money】</span>储备基金 每笔收入扣掉的金额 只供显示
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>币种⑤：</td>
                                            <td>
                                                <img width="20" height="20" src="__PUBLIC__/images/<if condition='$config.is_u5 eq 1'>yes.png <else />cancel.png</if>" onclick="changeTableVal('config','name','is_u5','value',this)"/>
                                                <input type="text" class="input-sm" name="u5" value="{$config.u5|default='⑤'}" >
                                                <span style='color:red;'>【frozen_money】</span>用户冻结金额，冻结不可提现的金额
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>币种⑥：</td>
                                            <td>
                                                <img width="20" height="20" src="__PUBLIC__/images/<if condition='$config.is_u6 eq 1'>yes.png <else />cancel.png</if>" onclick="changeTableVal('config','name','is_u6','value',this)"/>
                                                <input type="text" class="input-sm" name="u6" value="{$config.u6|default='⑥'}" >
                                                <span style='color:red;'>【total_amount】</span>累计消费金额
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>币种⑦：</td>
                                            <td>
                                                <img width="20" height="20" src="__PUBLIC__/images/<if condition='$config.is_u6 eq 1'>yes.png <else />cancel.png</if>" onclick="changeTableVal('config','name','is_u6','value',this)"/>
                                                <input type="text" class="input-sm" name="u7" value="{$config.u7|default='⑦'}" >
                                                <span style='color:red;'>【total_amount】</span>累计消费金额
                                            </td>
                                        </tr>
                                        <!------------会员币种字段结束----------------华丽的分界线---------------------------------->
                                    </tbody>
                                    <tfoot>
                                        <tr>
                                            <td><input type="hidden" name="inc_type" value="{$inc_type}"></td>
                                            <td class="text-right"><input class="btn btn-primary" type="button" onclick="adsubmit()" value="保存"></td></tr>
                                        </tfoot>
                                    </table>
                                </div>
                            </div>
                        </form><!--表单数据-->
                    </div>
                </div>
            </div>
        </section>
    </div>
    <script>
        function adsubmit() {
            $('#handlepost').submit();
        }

        $(document).ready(function () {
            get_province();
            var marktype = "{$config['mark_type']}";
            if (marktype == 'text') {
                $('#texttr').show();
            } else {
                $('#imgtr').show();
            }
        });

        function goset(obj) {
            window.location.href = $(obj).attr('data-url');
        }
    </script>

</body>
</html>